package org.example.travel_web.service;

import org.example.travel_web.dto.PageResult;
import org.example.travel_web.dto.attraction.*;
import org.example.travel_web.entity.AttractionsET;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 23591
* @description 针对表【travel_attractions(用于存储景点的详细信息)】的数据库操作Service
* @createDate 2025-01-21 15:57:26
*/
public interface AttractionsService extends IService<AttractionsET> {

    PageResult<PageResp> pageResult(PageReq pageReq);

    void addAttraction(AttractionReq req);

    void updateAttraction(AttractionReq req);

    void deleteAttraction(Integer[] ids);

    AttractionDetail getAttractionDetail(Integer id);

    PageResult<UserAttractionPageResp> userPageResult(UserPageReq req);
}
